package com.lottery.dao;

import com.lottery.pojo.TableRegions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RegionDao {

    List<TableRegions> getRegions();

    void updateRegion(@Param("r") TableRegions tableRegions);

    void updateRegionLimit(@Param("r") TableRegions tableRegions);
}
